<!DOCTYPE html>       
<!--
==========================================================================
gin-sns自动生成修改页面代码,只生成一次,按需修改.
date：2021-02-21 13:45:54 +0800 CST
path: template/module/images/edit.html
author：jon
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (OssUrl)}}
    <link href="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-images-edit">
        <input name="id" value="{{.images.Id}}" type="hidden">
            
            <div class="form-group">
                <label class="col-sm-3 control-label">博客id：</label>
                <div class="col-sm-8">
                    <input name="blogId" value="{{.images.BlogId}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">用户id：</label>
                <div class="col-sm-8">
                    <input name="userId" value="{{.images.UserId}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片URL：</label>
                <div class="col-sm-8">
                    <input name="imgUrl" value="{{.images.ImgUrl}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片名称：</label>
                <div class="col-sm-8">
                    <input name="imgName" value="{{.images.ImgName}}" class="form-control"  type="text" required>
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片描述：</label>
                <div class="col-sm-8">
                    <input name="description" value="{{.images.Description}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片文件大小：</label>
                <div class="col-sm-8">
                    <input name="fileSize" value="{{.images.FileSize}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片宽度：</label>
                <div class="col-sm-8">
                    <input name="imgWidth" value="{{.images.ImgWidth}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片高度：</label>
                <div class="col-sm-8">
                    <input name="imgHeight" value="{{.images.ImgHeight}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片位置LAT：</label>
                <div class="col-sm-8">
                    <input name="latitude" value="{{.images.Latitude}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片位置LONG：</label>
                <div class="col-sm-8">
                    <input name="longitude" value="{{.images.Longitude}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">图片签名：</label>
                <div class="col-sm-8">
                    <input name="signature" value="{{.images.Signature}}" class="form-control"  type="text" >
                </div>
            </div>
              
            <div class="form-group">
                <label class="col-sm-3 control-label">0未审核 1正常状态 2审核未通过 3删除：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="status" value="" required>
                        <label for="status" text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>  
              
    </form>
</div>
{{template "footer" (OssUrl)}}
<script src="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript">
    var prefix = ctx + "module/images";
    $("#form-images-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-images-edit').serialize());
        }
    }
                                                                
    
</script>
</body>
</html>